package com.jt.www.common.service;


import com.jt.www.domain.vo.MonitorErrorVO;
import com.jt.www.model.mail.dto.MailDTO;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SendEmailsService {

    ResponseEntity sendEmail(MailDTO mailDTO, String type);

    /**
     * 发送异常监控邮件
     *
     * @param issueErrorList
     * @param ePolicyError
     */
    void monitorError(List<MonitorErrorVO> issueErrorList, List<MonitorErrorVO> ePolicyError);

}
